        
        <div class="container">
        <div class="row">
                <div class="twelve columns">
                    <div class="box_c">
                        <div class="box_c_heading cf box_actions">
                            <p><?php echo $menu_item ?></p>
                        </div>
                        <div class="box_c_content">
                            <table class="display dt_act mobile_dt3" id="admin_home">
                                <thead>
                                    <tr>
                                    <!--<th class="chb_col"><input type="checkbox" class="chSel_all" /></th>-->
                                        <?php 
										foreach ($fields as $field) {
											if ($field == 'description') {
											echo '<th width="50%">'.$field.'</th>';
											} elseif ($field == 'title') {
												continue;
											}else{
												echo '<th>'.$field.'</th>';
											}
										}
                                        ?>
                                    <th class="essential">Actions</th>
                                    </tr>
                                </thead>
                                <tbody>
                                   <tr id="<?php echo $page['page_name']?>">
                                        <!--<td class="chb_col"><input type="checkbox" name="row_sel" /></td>-->
                                        <td><a href="<?=base_url()?>"><?php echo $page['page_name']?></a>
                                        </td>
                                        <td class="edit_td"><div id="<?=$page['page_name'];?>" class="value"><div id="des_<?=$page['page_name'];?>"><?=$page['description']?>
                                        </div></div>
                                        <div id="<?=$page['page_name'];?>" class="input" style="display:none"><textarea style="width:100%; height:200px" type="text" id="des_input_<?php echo $page['page_name'] ?>"><?php echo $page['description'] ?></textarea></div>
                                        </td>
                                        <td class="edit_td">
                                        <div id="<?=$page['page_name'];?>" class="value">
                                        <a  href="http://www.youtube.com/watch?v=<?php echo $page['youtube_link']?>"><p id="ytb_<?=$page['page_name']; ?>" style="margin:0px !important"><?php echo $page['youtube_link']?></p>
                                        <img width="200px" height="96px" src="http://i1.ytimg.com/vi/<?php echo $page['youtube_link']?>/maxresdefault.jpg"/></a></div>
                                        <div id="<?=$page['page_name'];?>" class="input" style="display:none"><input value="http://www.youtube.com/watch?v=<?php echo $page['youtube_link']?>" type="text" id="ytb_input_<?php echo $page['page_name'] ?>" /></div>
                                        </td>
                                        <td class="content_actions">
                                        <a id="<?php echo $page['page_name']?>" href="#" class="sepV_a edit_txt" title="Edit"><img src="<?=base_url()?>resources/admin/img/ico/pencil_gray.png" alt="" /></a>
                                        <a style="display:none" id="<?php echo $page['page_name']?>" href="#" class="sepV_a save_txt" title="Save"><img src="<?=base_url()?>resources/admin/img/ico/save.png" alt="" /></a>
                                        <a style="display:none" id="<?php echo $page['page_name']?>" href="#" class="sepV_a cancel_txt" title="Cancel"><img src="<?=base_url()?>resources/admin/img/ico/cancel_gray.png" alt="" /></a>
                                        <!--<a href="<?=base_url()?>" class="sepV_a" title="View"><img src="<?=base_url()?>resources/admin/img/ico/preview_gray.png" alt="" /></a>-->
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="<?=base_url()?>resources/admin/js/admin_home_ajax.js"></script>